package com.pt5.pthouduan.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ljx
 * @since 2025-04-14
 */
@TableName("invites")
public class Invites implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("inviteid")
    private Long inviteid;

    private Long userid;

    private String invitedUserEmail;

    private String code;

    private Boolean isUsed;

    public Long getInviteid() {
        return inviteid;
    }

    public void setInviteid(Long inviteid) {
        this.inviteid = inviteid;
    }

    public Long getUserid() {
        return userid;
    }

    public void setUserid(Long userid) {
        this.userid = userid;
    }

    public String getInvitedUserEmail() {
        return invitedUserEmail;
    }

    public void setInvitedUserEmail(String invitedUserEmail) {
        this.invitedUserEmail = invitedUserEmail;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Boolean getIsUsed() {
        return isUsed;
    }

    public void setIsUsed(Boolean isUsed) {
        this.isUsed = isUsed;
    }

    @Override
    public String toString() {
        return "Invites{" +
        "inviteid = " + inviteid +
        ", userid = " + userid +
        ", invitedUserEmail = " + invitedUserEmail +
        ", code = " + code +
        ", isUsed = " + isUsed +
        "}";
    }
}
